﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameLib;
using GameLib.Utils;
using Sandbox.Utils;
using GameLib.Main;

namespace Sandbox.ContentCollections
{
	public class ContentCollection<ContentType> where ContentType : Content, new()
	{
		protected static void Load(string fileName)
		{
			Core.DataHandler.Read(ms_ContentDict, fileName);
		}

		protected static void CreateDefaultContentDictionary()
		{
			ms_ContentDict = new Dictionary<Name, ContentType>();
		}

		protected static Dictionary<Name, ContentType> ms_ContentDict;
	}
}
